<html>
<head>
    
    <meta charset="utf-8">
    <title>选择词书</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,minimum-scale=1, maximum-scale=1.0, user-scalable=no">
    <!-- Site CSS -->
    <link href="http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
    <link href="http://cdn.bootcss.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
    <link href="http://static.bootcss.com/www/assets/css/site.min.css?v5" rel="stylesheet">
    <link href='http://liveser.cn/css/buttom_visible.css' rel="stylesheet">
   
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          
           <a onclick='history.back()'><font color="#fff" size="5" style="padding: 30px 0px 30 5%">&lt;</font></a><font color="#fff" size="3" align="center" style="padding-left: 35%">选择词书</font>
          
        </div>
        
      </div>
    </div>
    <div class="panel panel-default">
     <div class="panel-heading" style="padding-top: 30px" align="center">主面板</div>
<table class="table">
    <tr><td>  <a href='javascript:;' onclick="choose(1)"  class="thumbnail">
         <img src='http://liveser.cn/img/ry1.jpeg' alt='日语' height="100px" width="100px" />
         
      </a><div align="center">日语</div></td><td>
      <a href="javascript:;" onclick='choose(2)'  class="thumbnail">
          <img src='http://liveser.cn/img/xiyu1.jpg' alt='西语' height="100px" width="100px" />
          
      </a><div align="center">西语</div></td></tr>

    <tr><td>  <a href='javascript:;' onclick="choose(3)"  class="thumbnail">
         <img src='http://liveser.cn/img/en_4.jpg' alt='英语四级' height="100px" width="100px" />
         
      </a><div align="center">英语四级</div></td></tr>
   </table>
</div>
</div>

<nav class="navbar navbar-default navbar-fixed-bottom" style="border: 0;background-color:#000">
  
    <table class='table' style="padding 0px;margin-bottom: 0">
   <tr  style="padding 0px;">
   
   <td style="padding: 12px"><div align="center"><a href='http://liveser.cn/' style="color:#9D9D9D">首页</a></div></td>
   <td style="padding: 12px"><div align="center"><a href='http://liveser.cn/word' style="color:#9D9D9D">背词</a></div></td>
   <td style="padding: 12px"><?php 
         if($flag == 1) 
         {
            echo '<div align="center"><a href="http://liveser.cn/user" style="color:#9D9D9D">个人</a></div>';
         }
         else
         {
            echo '<div align="center"><a href="http://liveser.cn/login" style="color:#9D9D9D">登录</a></div>';
         }
          ?>
   </td>
   
   </tr>
   </table>
  
</nav>
<script type="text/javascript">
  function choose(id)
  {
    //alert(id);
    $.post('http://liveser.cn/selectDic',
    {
      id: id
    },
    function(data,status)
    {
      alert(data);
      location.href='http://liveser.cn/';
    });
  }
</script>
<script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script>
    <script src="http://cdn.bootcss.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
    <script src="http://cdn.bootcss.com/unveil/1.3.0/jquery.unveil.min.js"></script>
    <script src="http://cdn.bootcss.com/scrollup/2.4.0/jquery.scrollUp.min.js"></script>
    <script src="http://cdn.bootcss.com/toc/0.3.2/toc.min.js"></script>
    <script src="http://cdn.bootcss.com/jquery.matchHeight/0.5.2/jquery.matchHeight-min.js"></script>
    <script src="http://static.bootcss.com/www/assets/js/site.min.js"></script>
</body>
</html>
